import App from "./App.vue"
import router from "./router"
import setupDirectives from '@/directive/index'
import { createApp } from "vue"
import { createPinia } from "pinia"

function setupApp() {
    const app = createApp(App)
    setupDirectives(app)
    app.use(createPinia())
    app.use(router)
    app.mount("#app")
}
setupApp()